package com.erp.gather.mapper;

import com.ruoyi.gather.api.domain.vo.ErpCollectProductSkuVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.gather.api.domain.ErpCollectProductSku;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 采集商品SKU;参考AE-商品：发布产品信息（aliexpress.postproduct.redefining.postaeproduct）Mapper接口
 *
 * @author erp
 * @date 2023-03-07
 */
public interface ErpCollectProductSkuMapper extends BaseMapperPlus<ErpCollectProductSkuMapper, ErpCollectProductSku, ErpCollectProductSkuVo> {

    List<String> deleteDuplicateCollectProductId();

    Boolean deleteByCollectId(@Param("collectProductId") Long collectProductId);
}
